/**
 * @program: 2022.2.22哈希表
 * @description:
 * @author: 李鑫月
 * @create: 2022-02-22 20:56
 **/
public class HashBuck {
    static class Node{
        public int key;
        public int  val;
        public Node next;
        public  Node (int key,int val){
            this.key=key;
            this.val=val;
        }
    }
    public Node[] array;
    public int usedSize;
    public HashBuck(){
        this.array=new Node[10];
    }
    public void put(int key,int val){
        //1.找到key所在的位置
        int index=key%this.array.length;
        //2.
    }

    /**
     * 根据key获取val值
     * @param key
     * @return
     */
    public int get(int key){
        return -1;

        
    }
}
